package com.groupbuying.customer.service;

import com.groupbuying.customer.domain.CustomerAccountDO;
import com.groupbuying.customer.domain.CustomerDO;

import java.util.List;
import java.util.Map;

/**
 * 会员虚拟账户
 * 
 * @author wenguoqiang
 * @email 17081@mengtaigroup.com
 * @date 2019-01-11 09:20:45
 */
public interface CustomerAccountService {
	
	CustomerAccountDO get(String uuid);
	
	List<CustomerAccountDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(CustomerAccountDO account);
	
	int update(CustomerAccountDO account);
	
	int remove(String uuid);
	
	int batchRemove(String[] uuids);

	/**
	 * 根据会员uuid查找会员账户信息
	 * @param uuid
	 * @return
	 */
	CustomerAccountDO getByCustomerUuid(String uuid);
}
